package com.daylive.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.daylive.model.Admin;
import com.daylive.page.Pagination;

public interface AdminDao {
	public Admin getAdminByAccount(String account);
	public List<Admin>  getAdminsList(@Param("account") String account ,Pagination page);
	public List<Admin>  getAdminsList();
	public int addAdmin(Admin admin);
	public int updateAdmin(Admin admin);
	public int delAdmin(@Param("account") String account);
	public int delAll(String[] ids);

}
